import axios from 'axios'

export const baseURL = 'http://localhost:8090/'
export const baseImageResourceURL = 'http://localhost:8090/upload/'

const http = axios.create(
    {
        // 1000天的秒数
        timeout: 1000 * 86400,
        // 是否在凭证
        // withCredentials: true,
        baseURL: baseURL,
        headers: {
            'Content-Type': 'application/json; charset=utf-8'
        }
    }
)

// 请求拦截

// 响应拦截


export default http














